package org.csu.mybigpro.service;

import org.csu.mybigpro.domain.User;

import java.util.List;

public interface TeacherService {
    List<User> getAllTeachers();

    User getTeacherById(Long id);

    List<User> getTeacherByName(String name);

    boolean addTeacher(User user);

    boolean updateTeacher(User user);

    boolean deleteTeacher(Long id);

}
